-- GENERATED SPELL FOR [Young Stranglethorn Tiger] --


function spell0_681(pUnit, Event) --@Claw,n/a--
pUnit:FullCastSpellOnTarget(16830,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_681', 571, 1)
end

function spell1_681(pUnit, Event) --@Cower,n/a--
pUnit:FullCastSpellOnTarget(1754,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_681', 0, 1)
end

function spell2_681(pUnit, Event) --@Dash,Self--
pUnit:FullCastSpellOnTarget(61684,pUnit)
pUnit:RegisterEvent('Sorts_681', 16000, 1)
end

function spell3_681(pUnit, Event) --@Growl,n/a--
pUnit:FullCastSpellOnTarget(14918,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_681', 0, 1)
end

function spell4_681(pUnit, Event) --@Prowl,Self--
pUnit:FullCastSpellOnTarget(24452,pUnit)
pUnit:RegisterEvent('Sorts_681', 0, 1)
end

function spell5_681(pUnit, Event) --@Rake,n/a--
pUnit:FullCastSpellOnTarget(59882,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_681', 9000, 1)
end

function Sorts_681(pUnit, Event)
local choix_sorts_681 = math.random(0, 5)
if choix_sorts_681 == 0 then
pUnit:RegisterEvent('spell0_681', 1, 1)
end
if choix_sorts_681 == 1 then
pUnit:RegisterEvent('spell1_681', 1, 1)
end
if choix_sorts_681 == 2 then
pUnit:RegisterEvent('spell2_681', 1, 1)
end
if choix_sorts_681 == 3 then
pUnit:RegisterEvent('spell3_681', 1, 1)
end
if choix_sorts_681 == 4 then
pUnit:RegisterEvent('spell4_681', 1, 1)
end
if choix_sorts_681 == 5 then
pUnit:RegisterEvent('spell5_681', 1, 1)
end
end

function mob681_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_681', math.random(1500, 3000), 1)
end

function mob681_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob681_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob681_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(681, 1, 'mob681_Action')
RegisterUnitEvent(681, 2, 'mob681_Leave')
RegisterUnitEvent(681, 3, 'mob681_Kill')
RegisterUnitEvent(681, 4, 'mob681_Die')
